package com.tengju.data.infrastructure.persistence.mybatis.mapper.clickhouse.user;


import com.tengju.data.infrastructure.persistence.mybatis.dataobject.LevelUserAnalysisVO;
import com.tengju.data.infrastructure.persistence.mybatis.dataobject.UserBelongDetailDO;
import com.tengju.data.infrastructure.persistence.mybatis.dataobject.UserDetailDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DwdUserClubMapDOMapper {

    List<Long> selectIdCodesByClubIdAndIdCode(Long clubId, List<Long> idCodes);

    int selectUserBlackCountByClubId(Long clubId);

    List<Long> selectIdCodesByClubIdsAndIdCodes(List<Long> clubIds, List<Long> idCodes);

    List<LevelUserAnalysisVO> listLevelUsers(@Param("clubId") Long clubId);

    UserDetailDO selectUserDetails(@Param("idCode") Long idCode);

    List<UserBelongDetailDO> selectUserBelongDetailList(@Param("idCodes") List<Long> idCodes);

}
